package cn.xshi.actuator.jvm.server;
import lombok.Data;

/**
 * @Desc 系统文件相关信息
 * @Author 邓纯杰
 * @CreateTime 2013-10-05 17:15:42
 */
@Data
public class SysFileInfo {

	private String dirName;/**盘符路径**/

	private String sysTypeName;/**盘符类型**/

	private String fileTypeName;/**文件类型**/

	private String total;/**总大小**/

	private String free;/**剩余大小**/

	private String used;/**已经使用量**/

	private double usage;/**资源的使用率**/

	/**
	 * 构造函数
	 */
	public SysFileInfo(){

	}

	/**
	 * 构造函数
	 * @param dirName
	 * @param sysTypeName
	 * @param fileTypeName
	 * @param total
	 * @param free
	 * @param used
	 * @param usage
	 */
	public SysFileInfo(String dirName,String sysTypeName,
					   String fileTypeName,String total,String free,String used,
					   double usage){
		this.dirName = dirName;
		this.sysTypeName = sysTypeName;
		this.fileTypeName = fileTypeName;
		this.total = total;
		this.free = free;
		this.used = used;
		this.usage = usage;
	}
}
